 {extend name="extra@admin/content"}
{block name="content"}
<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="__SELF__" data-auto="true" method="post">

    <div class="layui-form-item">
        <label class="layui-form-label">用户昵称:</label>
        <div class="layui-input-block">
            <div style="line-height: 3"> {$user.nickname} 

            </div> 
        </div>
    </div>
   
	<div class="layui-form-item">
        <label class="layui-form-label">用户当前余额</label>
        <div class="layui-input-block">
            <div style="line-height: 3"> {$user.user_money}</div>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">用户当前积分</label>
        <div class="layui-input-block">
            <div style="line-height: 3"> {$user.pay_points}</div> 
        </div>
    </div>

     <div class="layui-form-item">
        <label class="layui-form-label">增减</label>
        <div class="layui-input-block">
             <span>
                       <select name="asdes">
                           <option value="1"> 增加</option>
                           <option value="2"> 减去</option>
                       </select>
                </span>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">请输入金额</label>
        <div class="layui-input-block">
            <span>
                 <input name="asdesmoney" value='' required="required" 
                   title="请输入金额" class="layui-input">
            </span>
        </div>
    </div>

  
    <div class="hr-line-dashed"></div>
    <div class="layui-form-item text-center">
       <input type='hidden' value='{$user.uid}' name='uid'/>
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>

    <script>window.form.render();</script>
</form>
{/block}

